package com.jiang.jixiang.network;

import org.json.JSONObject;

/**
 * @author:ws
 * @date: 2021/7/30 15:45
 * @desc
 */
public interface NetWorkListener {
    void onSucceed(JSONObject jsonData, int id, CommonalityModel commonality);//成功

    void onFail(JSONObject jsonData, int id, CommonalityModel commonality);//失败

    void onError(int id, Exception e);//错误
}
